<?PHP

//default values
include 'c_d_ad_media.php';

printformheader('Advertising Material',$content_msg);


begin_form($_GET['cmd'],$id);
$o['none']=true;
p_select('campaign',$campaigns,$e,'0','2',$o);

$enum_data=get_enum('media','type');
p_select('type',$enum_data,$e,'0','1',$o);
p_select('zone',$zones,$e,'0','1',$o);



?>

<h2>Advertising Information</h2>
<?PHP

p_input('impressions_total',$o,$e);
p_input('impressions_current',$o,$e);
p_date('start',$o,$e);
p_date('end',$o,$e);
p_input('link',$o,$e);
p_input('cpm',$o,$e);
p_select('category',$video_category,$e,'0','2',$o);


$o['none']=false;
?>

<h2>Video</h2>
<?PHP

p_input('server',$o,$e);
p_input('file',$o,$e);

include 'm/content/b_c_content_image.php';

	if($_GET['cmd']=='edit')
	{
		
		p_input('media',$o,$e);
		delete_item();
	}
	

	printsubmit("Save");
	end_form($_GET['cmd']);
	printformfooter('View Content','?q=m/content/v_content.php',NULL,NULL,NULL,NULL);




?>